home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / tests / demos.tst < prev    next >
Text File  |  1999-09-16  |  607b  |  26 lines

  1. //to Check all the demos
  2. clearfun('x_message')
  3. clearfun('x_dialog')
  4. clearfun('x_mdialog')
  5. clearfun('x_choose')
  6. clearfun('mode')
  7. clearfun('xclick')
  8. deff('[]=mode(x)','x=x')
  9. deff('[]=halt(  )',' ')
  10. getf('SCI/macros/util/x_matrix.sci','c')
  11. getf('SCI/macros/scicos/scicos.sci','c')
  12. getf('SCI/macros/scicos/do_run.sci','c')
  13. lines(0)
  14. clearfun('lines')
  15. deff('[x]=lines(x)','x=0 ')
  16. getf('SCI/tests/dialogs.sci','c')
  17. I=file('open','SCI/tests/demos.dialogs','old')
  18. O=file('open','/dev/null','old')
  19. %IO=[I,O]
  20. lines(0)
  21. getf('SCI/macros/util/getvalue.sci')
  22. exec('SCI/demos/alldems.dem')
  23. file('close',I)
  24. file('close',O)
  25.  
  26.